package com.yn.pet.controller.pc.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.yn.common.annotation.Excel;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
public class DeviceInfoRequest {
    //设备IMEI号
    @Excel(name = "IMEI号")
    private String imei;
    //设备名称
    @Excel(name = "设备名称")
    private String deviceName;
    //设备型号
    @Excel(name = "设备型号")
    private String deviceModel;
    //制造商
    @Excel(name = "制造商")
    private String factory;
    //激活时间
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime activateTimeStart;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime activateTimeEnd;
    //最后在线时间
    private LocalDateTime lastOnlineTimeStart;
    private LocalDateTime lastOnlineTimeEnd;

    private Integer currentPage;
    private Integer pageSize;
}
